extends "../suweiailuoxiya-1/suweiailuoxiya-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("当身边(十字范围)没有任何非召唤队友时:射程+5，炮击+50%", "北极孤狼")
	
func _onBattleStart():
	._onBattleStart()
	addBuff(b_sovetskaya.new())

class b_sovetskaya:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		id = "b_sovetskaya"
		buffName = "北极孤狼"
		dispel = 2
	func _upS():
		if masCha.getNearChas(masCha.cell).empty() and masCha.aiCha != null:
			att.atkRan = 5
			att.atkL = 0.5
			if masCha.upgraded == 1:
				att.cri += 0.3
		else:
			att.atkRan = 0
			att.atkL = 0
			att.cri = 0